#pragma once

//http://yann.lecun.com/exdb/mnist/
//[offset] [type]          [value]          [description]
//0000     32 bit integer  0x00000801(2049) magic number (MSB first)
//0004     32 bit integer  60000            number of items
//0008     unsigned byte   ??               label
//0009     unsigned byte   ??               label
//........
//xxxx     unsigned byte   ??               label
//
//The labels values are 0 to 9. 
namespace MnistDigit
{
	struct LabelHeader
	{
		unsigned int m_magic_number;
		unsigned int m_number_of_items;
	};

	std::istream& operator>> (std::istream& i, LabelHeader& labelHeader);

}